package ca.uvic.group2.ui;

interface TransactionServerManager {
    
    /**
     * Returns the name of the transaction server that owns 
     * the given session ID.
     *
     * throws SessionNotFoundException, CommException
     */
    String getServer(long sessionId);

    /**
     * Return the name of a transaction server, for the purposes 
     * of starting a new session.
     *
     * throws CommException
     */
    String getNewServer();

}